package com.broada.apm.ajax;

import java.util.List;

import com.broada.apm.entity.MenuColumn;
import com.broada.apm.entity.ProtocolMenu;
import com.broada.apm.model.PagingList;
import com.broada.apm.model.performance.BasePerformance;

public class MenuResult extends Result {

	/**
	 * @Fields serialVersionUID :
	 */

	private static final long serialVersionUID = 1L;

	public void setMenus(List<ProtocolMenu> menus) {
		this.put("result", menus);

	}
	
	public void setColmuns(List<MenuColumn> columns){
		this.put("result", columns);
	}

	public void setPageData(PagingList<? extends BasePerformance> page){
		this.addPagingList(page);
	}
}
